package com.quanyan.place.entity;

import com.quanyan.common.Plugin.Page;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TbBizPlaceStatementExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Page page;

    public TbBizPlaceStatementExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPage(Page page) {
        this.page=page;
    }

    public Page getPage() {
        return page;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoIsNull() {
            addCriterion("pay_order_no is null");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoIsNotNull() {
            addCriterion("pay_order_no is not null");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoEqualTo(String value) {
            addCriterion("pay_order_no =", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoNotEqualTo(String value) {
            addCriterion("pay_order_no <>", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoGreaterThan(String value) {
            addCriterion("pay_order_no >", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoGreaterThanOrEqualTo(String value) {
            addCriterion("pay_order_no >=", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoLessThan(String value) {
            addCriterion("pay_order_no <", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoLessThanOrEqualTo(String value) {
            addCriterion("pay_order_no <=", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoLike(String value) {
            addCriterion("pay_order_no like", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoNotLike(String value) {
            addCriterion("pay_order_no not like", value, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoIn(List<String> values) {
            addCriterion("pay_order_no in", values, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoNotIn(List<String> values) {
            addCriterion("pay_order_no not in", values, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoBetween(String value1, String value2) {
            addCriterion("pay_order_no between", value1, value2, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andPayOrderNoNotBetween(String value1, String value2) {
            addCriterion("pay_order_no not between", value1, value2, "payOrderNo");
            return (Criteria) this;
        }

        public Criteria andStatementIdIsNull() {
            addCriterion("statement_id is null");
            return (Criteria) this;
        }

        public Criteria andStatementIdIsNotNull() {
            addCriterion("statement_id is not null");
            return (Criteria) this;
        }

        public Criteria andStatementIdEqualTo(String value) {
            addCriterion("statement_id =", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdNotEqualTo(String value) {
            addCriterion("statement_id <>", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdGreaterThan(String value) {
            addCriterion("statement_id >", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdGreaterThanOrEqualTo(String value) {
            addCriterion("statement_id >=", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdLessThan(String value) {
            addCriterion("statement_id <", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdLessThanOrEqualTo(String value) {
            addCriterion("statement_id <=", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdLike(String value) {
            addCriterion("statement_id like", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdNotLike(String value) {
            addCriterion("statement_id not like", value, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdIn(List<String> values) {
            addCriterion("statement_id in", values, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdNotIn(List<String> values) {
            addCriterion("statement_id not in", values, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdBetween(String value1, String value2) {
            addCriterion("statement_id between", value1, value2, "statementId");
            return (Criteria) this;
        }

        public Criteria andStatementIdNotBetween(String value1, String value2) {
            addCriterion("statement_id not between", value1, value2, "statementId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNull() {
            addCriterion("place_id is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIsNotNull() {
            addCriterion("place_id is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceIdEqualTo(Integer value) {
            addCriterion("place_id =", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotEqualTo(Integer value) {
            addCriterion("place_id <>", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThan(Integer value) {
            addCriterion("place_id >", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("place_id >=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThan(Integer value) {
            addCriterion("place_id <", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdLessThanOrEqualTo(Integer value) {
            addCriterion("place_id <=", value, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdIn(List<Integer> values) {
            addCriterion("place_id in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotIn(List<Integer> values) {
            addCriterion("place_id not in", values, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdBetween(Integer value1, Integer value2) {
            addCriterion("place_id between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andPlaceIdNotBetween(Integer value1, Integer value2) {
            addCriterion("place_id not between", value1, value2, "placeId");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNull() {
            addCriterion("total_amount is null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIsNotNull() {
            addCriterion("total_amount is not null");
            return (Criteria) this;
        }

        public Criteria andTotalAmountEqualTo(BigDecimal value) {
            addCriterion("total_amount =", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotEqualTo(BigDecimal value) {
            addCriterion("total_amount <>", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThan(BigDecimal value) {
            addCriterion("total_amount >", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount >=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThan(BigDecimal value) {
            addCriterion("total_amount <", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("total_amount <=", value, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountIn(List<BigDecimal> values) {
            addCriterion("total_amount in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotIn(List<BigDecimal> values) {
            addCriterion("total_amount not in", values, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("total_amount not between", value1, value2, "totalAmount");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNull() {
            addCriterion("create_name is null");
            return (Criteria) this;
        }

        public Criteria andCreateNameIsNotNull() {
            addCriterion("create_name is not null");
            return (Criteria) this;
        }

        public Criteria andCreateNameEqualTo(String value) {
            addCriterion("create_name =", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotEqualTo(String value) {
            addCriterion("create_name <>", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThan(String value) {
            addCriterion("create_name >", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameGreaterThanOrEqualTo(String value) {
            addCriterion("create_name >=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThan(String value) {
            addCriterion("create_name <", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLessThanOrEqualTo(String value) {
            addCriterion("create_name <=", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameLike(String value) {
            addCriterion("create_name like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotLike(String value) {
            addCriterion("create_name not like", value, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameIn(List<String> values) {
            addCriterion("create_name in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotIn(List<String> values) {
            addCriterion("create_name not in", values, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameBetween(String value1, String value2) {
            addCriterion("create_name between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateNameNotBetween(String value1, String value2) {
            addCriterion("create_name not between", value1, value2, "createName");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("create_date is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("create_date is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterionForJDBCDate("create_date =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_date <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterionForJDBCDate("create_date >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_date >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterionForJDBCDate("create_date <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_date <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterionForJDBCDate("create_date in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_date not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_date between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_date not between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andTansferUidIsNull() {
            addCriterion("tansfer_uid is null");
            return (Criteria) this;
        }

        public Criteria andTansferUidIsNotNull() {
            addCriterion("tansfer_uid is not null");
            return (Criteria) this;
        }

        public Criteria andTansferUidEqualTo(Integer value) {
            addCriterion("tansfer_uid =", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidNotEqualTo(Integer value) {
            addCriterion("tansfer_uid <>", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidGreaterThan(Integer value) {
            addCriterion("tansfer_uid >", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidGreaterThanOrEqualTo(Integer value) {
            addCriterion("tansfer_uid >=", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidLessThan(Integer value) {
            addCriterion("tansfer_uid <", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidLessThanOrEqualTo(Integer value) {
            addCriterion("tansfer_uid <=", value, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidIn(List<Integer> values) {
            addCriterion("tansfer_uid in", values, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidNotIn(List<Integer> values) {
            addCriterion("tansfer_uid not in", values, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidBetween(Integer value1, Integer value2) {
            addCriterion("tansfer_uid between", value1, value2, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTansferUidNotBetween(Integer value1, Integer value2) {
            addCriterion("tansfer_uid not between", value1, value2, "tansferUid");
            return (Criteria) this;
        }

        public Criteria andTransferDateIsNull() {
            addCriterion("transfer_date is null");
            return (Criteria) this;
        }

        public Criteria andTransferDateIsNotNull() {
            addCriterion("transfer_date is not null");
            return (Criteria) this;
        }

        public Criteria andTransferDateEqualTo(Date value) {
            addCriterionForJDBCDate("transfer_date =", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("transfer_date <>", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateGreaterThan(Date value) {
            addCriterionForJDBCDate("transfer_date >", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("transfer_date >=", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateLessThan(Date value) {
            addCriterionForJDBCDate("transfer_date <", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("transfer_date <=", value, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateIn(List<Date> values) {
            addCriterionForJDBCDate("transfer_date in", values, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("transfer_date not in", values, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("transfer_date between", value1, value2, "transferDate");
            return (Criteria) this;
        }

        public Criteria andTransferDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("transfer_date not between", value1, value2, "transferDate");
            return (Criteria) this;
        }

        public Criteria andStatementStatusIsNull() {
            addCriterion("statement_status is null");
            return (Criteria) this;
        }

        public Criteria andStatementStatusIsNotNull() {
            addCriterion("statement_status is not null");
            return (Criteria) this;
        }

        public Criteria andStatementStatusEqualTo(Byte value) {
            addCriterion("statement_status =", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusNotEqualTo(Byte value) {
            addCriterion("statement_status <>", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusGreaterThan(Byte value) {
            addCriterion("statement_status >", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("statement_status >=", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusLessThan(Byte value) {
            addCriterion("statement_status <", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusLessThanOrEqualTo(Byte value) {
            addCriterion("statement_status <=", value, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusIn(List<Byte> values) {
            addCriterion("statement_status in", values, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusNotIn(List<Byte> values) {
            addCriterion("statement_status not in", values, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusBetween(Byte value1, Byte value2) {
            addCriterion("statement_status between", value1, value2, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andStatementStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("statement_status not between", value1, value2, "statementStatus");
            return (Criteria) this;
        }

        public Criteria andSettleNameIsNull() {
            addCriterion("settle_name is null");
            return (Criteria) this;
        }

        public Criteria andSettleNameIsNotNull() {
            addCriterion("settle_name is not null");
            return (Criteria) this;
        }

        public Criteria andSettleNameEqualTo(String value) {
            addCriterion("settle_name =", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameNotEqualTo(String value) {
            addCriterion("settle_name <>", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameGreaterThan(String value) {
            addCriterion("settle_name >", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameGreaterThanOrEqualTo(String value) {
            addCriterion("settle_name >=", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameLessThan(String value) {
            addCriterion("settle_name <", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameLessThanOrEqualTo(String value) {
            addCriterion("settle_name <=", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameLike(String value) {
            addCriterion("settle_name like", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameNotLike(String value) {
            addCriterion("settle_name not like", value, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameIn(List<String> values) {
            addCriterion("settle_name in", values, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameNotIn(List<String> values) {
            addCriterion("settle_name not in", values, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameBetween(String value1, String value2) {
            addCriterion("settle_name between", value1, value2, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleNameNotBetween(String value1, String value2) {
            addCriterion("settle_name not between", value1, value2, "settleName");
            return (Criteria) this;
        }

        public Criteria andSettleDateIsNull() {
            addCriterion("settle_date is null");
            return (Criteria) this;
        }

        public Criteria andSettleDateIsNotNull() {
            addCriterion("settle_date is not null");
            return (Criteria) this;
        }

        public Criteria andSettleDateEqualTo(Date value) {
            addCriterionForJDBCDate("settle_date =", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("settle_date <>", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateGreaterThan(Date value) {
            addCriterionForJDBCDate("settle_date >", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("settle_date >=", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateLessThan(Date value) {
            addCriterionForJDBCDate("settle_date <", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("settle_date <=", value, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateIn(List<Date> values) {
            addCriterionForJDBCDate("settle_date in", values, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("settle_date not in", values, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("settle_date between", value1, value2, "settleDate");
            return (Criteria) this;
        }

        public Criteria andSettleDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("settle_date not between", value1, value2, "settleDate");
            return (Criteria) this;
        }

        public Criteria andBankAccountIsNull() {
            addCriterion("bank_account is null");
            return (Criteria) this;
        }

        public Criteria andBankAccountIsNotNull() {
            addCriterion("bank_account is not null");
            return (Criteria) this;
        }

        public Criteria andBankAccountEqualTo(String value) {
            addCriterion("bank_account =", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotEqualTo(String value) {
            addCriterion("bank_account <>", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountGreaterThan(String value) {
            addCriterion("bank_account >", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountGreaterThanOrEqualTo(String value) {
            addCriterion("bank_account >=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLessThan(String value) {
            addCriterion("bank_account <", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLessThanOrEqualTo(String value) {
            addCriterion("bank_account <=", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountLike(String value) {
            addCriterion("bank_account like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotLike(String value) {
            addCriterion("bank_account not like", value, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountIn(List<String> values) {
            addCriterion("bank_account in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotIn(List<String> values) {
            addCriterion("bank_account not in", values, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountBetween(String value1, String value2) {
            addCriterion("bank_account between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andBankAccountNotBetween(String value1, String value2) {
            addCriterion("bank_account not between", value1, value2, "bankAccount");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkIsNull() {
            addCriterion("transfer_remark is null");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkIsNotNull() {
            addCriterion("transfer_remark is not null");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkEqualTo(String value) {
            addCriterion("transfer_remark =", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkNotEqualTo(String value) {
            addCriterion("transfer_remark <>", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkGreaterThan(String value) {
            addCriterion("transfer_remark >", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("transfer_remark >=", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkLessThan(String value) {
            addCriterion("transfer_remark <", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkLessThanOrEqualTo(String value) {
            addCriterion("transfer_remark <=", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkLike(String value) {
            addCriterion("transfer_remark like", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkNotLike(String value) {
            addCriterion("transfer_remark not like", value, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkIn(List<String> values) {
            addCriterion("transfer_remark in", values, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkNotIn(List<String> values) {
            addCriterion("transfer_remark not in", values, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkBetween(String value1, String value2) {
            addCriterion("transfer_remark between", value1, value2, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andTransferRemarkNotBetween(String value1, String value2) {
            addCriterion("transfer_remark not between", value1, value2, "transferRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkIsNull() {
            addCriterion("settle_remark is null");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkIsNotNull() {
            addCriterion("settle_remark is not null");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkEqualTo(String value) {
            addCriterion("settle_remark =", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkNotEqualTo(String value) {
            addCriterion("settle_remark <>", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkGreaterThan(String value) {
            addCriterion("settle_remark >", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("settle_remark >=", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkLessThan(String value) {
            addCriterion("settle_remark <", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkLessThanOrEqualTo(String value) {
            addCriterion("settle_remark <=", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkLike(String value) {
            addCriterion("settle_remark like", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkNotLike(String value) {
            addCriterion("settle_remark not like", value, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkIn(List<String> values) {
            addCriterion("settle_remark in", values, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkNotIn(List<String> values) {
            addCriterion("settle_remark not in", values, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkBetween(String value1, String value2) {
            addCriterion("settle_remark between", value1, value2, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andSettleRemarkNotBetween(String value1, String value2) {
            addCriterion("settle_remark not between", value1, value2, "settleRemark");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlIsNull() {
            addCriterion("weixin_code_url is null");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlIsNotNull() {
            addCriterion("weixin_code_url is not null");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlEqualTo(String value) {
            addCriterion("weixin_code_url =", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlNotEqualTo(String value) {
            addCriterion("weixin_code_url <>", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlGreaterThan(String value) {
            addCriterion("weixin_code_url >", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("weixin_code_url >=", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlLessThan(String value) {
            addCriterion("weixin_code_url <", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlLessThanOrEqualTo(String value) {
            addCriterion("weixin_code_url <=", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlLike(String value) {
            addCriterion("weixin_code_url like", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlNotLike(String value) {
            addCriterion("weixin_code_url not like", value, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlIn(List<String> values) {
            addCriterion("weixin_code_url in", values, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlNotIn(List<String> values) {
            addCriterion("weixin_code_url not in", values, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlBetween(String value1, String value2) {
            addCriterion("weixin_code_url between", value1, value2, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinCodeUrlNotBetween(String value1, String value2) {
            addCriterion("weixin_code_url not between", value1, value2, "weixinCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlIsNull() {
            addCriterion("ali_pay_code_url is null");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlIsNotNull() {
            addCriterion("ali_pay_code_url is not null");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlEqualTo(String value) {
            addCriterion("ali_pay_code_url =", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlNotEqualTo(String value) {
            addCriterion("ali_pay_code_url <>", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlGreaterThan(String value) {
            addCriterion("ali_pay_code_url >", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlGreaterThanOrEqualTo(String value) {
            addCriterion("ali_pay_code_url >=", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlLessThan(String value) {
            addCriterion("ali_pay_code_url <", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlLessThanOrEqualTo(String value) {
            addCriterion("ali_pay_code_url <=", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlLike(String value) {
            addCriterion("ali_pay_code_url like", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlNotLike(String value) {
            addCriterion("ali_pay_code_url not like", value, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlIn(List<String> values) {
            addCriterion("ali_pay_code_url in", values, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlNotIn(List<String> values) {
            addCriterion("ali_pay_code_url not in", values, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlBetween(String value1, String value2) {
            addCriterion("ali_pay_code_url between", value1, value2, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andAliPayCodeUrlNotBetween(String value1, String value2) {
            addCriterion("ali_pay_code_url not between", value1, value2, "aliPayCodeUrl");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgIsNull() {
            addCriterion("weixin_err_msg is null");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgIsNotNull() {
            addCriterion("weixin_err_msg is not null");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgEqualTo(String value) {
            addCriterion("weixin_err_msg =", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgNotEqualTo(String value) {
            addCriterion("weixin_err_msg <>", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgGreaterThan(String value) {
            addCriterion("weixin_err_msg >", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgGreaterThanOrEqualTo(String value) {
            addCriterion("weixin_err_msg >=", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgLessThan(String value) {
            addCriterion("weixin_err_msg <", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgLessThanOrEqualTo(String value) {
            addCriterion("weixin_err_msg <=", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgLike(String value) {
            addCriterion("weixin_err_msg like", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgNotLike(String value) {
            addCriterion("weixin_err_msg not like", value, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgIn(List<String> values) {
            addCriterion("weixin_err_msg in", values, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgNotIn(List<String> values) {
            addCriterion("weixin_err_msg not in", values, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgBetween(String value1, String value2) {
            addCriterion("weixin_err_msg between", value1, value2, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andWeixinErrMsgNotBetween(String value1, String value2) {
            addCriterion("weixin_err_msg not between", value1, value2, "weixinErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgIsNull() {
            addCriterion("ali_err_msg is null");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgIsNotNull() {
            addCriterion("ali_err_msg is not null");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgEqualTo(String value) {
            addCriterion("ali_err_msg =", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgNotEqualTo(String value) {
            addCriterion("ali_err_msg <>", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgGreaterThan(String value) {
            addCriterion("ali_err_msg >", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgGreaterThanOrEqualTo(String value) {
            addCriterion("ali_err_msg >=", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgLessThan(String value) {
            addCriterion("ali_err_msg <", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgLessThanOrEqualTo(String value) {
            addCriterion("ali_err_msg <=", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgLike(String value) {
            addCriterion("ali_err_msg like", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgNotLike(String value) {
            addCriterion("ali_err_msg not like", value, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgIn(List<String> values) {
            addCriterion("ali_err_msg in", values, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgNotIn(List<String> values) {
            addCriterion("ali_err_msg not in", values, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgBetween(String value1, String value2) {
            addCriterion("ali_err_msg between", value1, value2, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andAliErrMsgNotBetween(String value1, String value2) {
            addCriterion("ali_err_msg not between", value1, value2, "aliErrMsg");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}